Skip to content

ci(e2e): post-release smoke via install.sh (Phase 7 follow-up)#102

Merged
EnderOfWorlds007 merged 1 commit into
mainfrom
ci/e2e-phase-7-post-release
May 3, 2026
Merged

ci(e2e): post-release smoke via install.sh (Phase 7 follow-up)#102
EnderOfWorlds007 merged 1 commit into
mainfrom
ci/e2e-phase-7-post-release

Conversation

@EnderOfWorlds007

Copy link
Copy Markdown
Collaborator

Phase 7 follow-up — validates the consumer install path after every stable release.

Summary

  • New workflow .github/workflows/e2e-post-release.yml fires on release: published (stable only — prerelease != true)
  • Runs VERSION=<tag> curl install.sh | bash (consumer install path), confirms binary at $HOME/.polkadot/bin/dot
  • Reuses e2e/cli/published.test.ts smoke tests via DOT_E2E_BINARY env (set through $GITHUB_ENV so $HOME expands correctly)

Distinct from Phase 7

  • Phase 7's e2e-release.yml fires on RC (prereleased) and uses gh release download directly.
  • This fires on stable and exercises install.sh end-to-end. Catches install-script regressions.

Design notes

  • install.sh runs dot init at the end; init requires an interactive QR scan and exits non-zero in headless CI — the step tolerates this with || true but hard-fails via ls -la if the binary itself was not installed (the real regression case).
  • VERSION=<tag> pins the install to the just-released tag rather than racing the releases/latest CDN redirect.
  • DOT_E2E_BINARY written to $GITHUB_ENV in a prior step so tilde/$HOME expansion works correctly when vitest reads it.

Test plan

  • Manual: gh workflow run e2e-post-release.yml --ref ci/e2e-phase-7-post-release -f tag=<existing-stable-tag>
  • First stable release: workflow fires automatically on release: published

@github-actions

github-actions Bot commented May 3, 2026

Copy link
Copy Markdown
Contributor

Dev build ready — try this branch:

curl -fsSL https://raw.githubusercontent.com/paritytech/playground-cli/main/install.sh | VERSION=dev/ci/e2e-phase-7-post-release bash

@github-actions

github-actions Bot commented May 3, 2026

Copy link
Copy Markdown
Contributor

E2E Test Pass · ✅ PASS

Tag: e2e-ci-pr · Branch: ci/e2e-phase-7-post-release · Commit: c6f5b21 · Run logs

Cell Result Time
pr-init-session ✅ PASS 1m23s
pr-deploy-frontend ✅ PASS 6m08s
pr-preflight ✅ PASS 2m09s
pr-deploy-foundry ✅ PASS 1m55s
pr-install ✅ PASS 0m45s
pr-mod ✅ PASS 1m27s
${{ matrix.cell }} ⏭️ SKIP 0m00s
${{ matrix.cell }} ⏭️ SKIP 0m00s

Sentry traces: view spans for this run

@EnderOfWorlds007 EnderOfWorlds007 merged commit 635ca56 into main May 3, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant